DescribeScalingActivities
Description
call the DescribeScalingActivities to query the information of scaling activities in the scaling group.
Request Method
POST
Request Path
/apsara/route/Ess/DescribeScalingActivities
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
PageSize | BODY | integer | No | No sample value for this parameter. | the number of rows per page set during paging query, the maximum value is 50, and the default value is 10. |
PageNumber | BODY | integer | No | No sample value for this parameter. | the page number of the scaling activity list, with a starting value of 1 and a default value of 1. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
ScalingGroupId | BODY | string | No | No sample value for this parameter. | ID of the scaling group. |
RegionId | BODY | string | Yes | No sample value for this parameter. | the region where the scaling activity is located. |
ScalingActivityId.N | BODY | string | No | No sample value for this parameter. | the ID of the scaling activity, ranging from 1 to 10. When the query result is returned, the invalid scaling activity ID is ignored and no error is reported. |
StatusCode | BODY | string | No | No sample value for this parameter. | The status of the scaling activity. The value range is: Successful: successful scaling activity. Warning: partially performed successful scaling activities. Failed: failed scaling activity. InProgress: scaling activity being performed. Rejected: the request to perform the scaling activity was rejected. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}